/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.isd.ventas.rn;

import java.math.BigDecimal;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import com.isd.venta.dao.LimiteCreditoVentaDAO;
import com.isd.venta.modelo.Cliente;

/**
 *
 * @author ctrosch
 */
@Stateless
@LocalBean
public class LimiteCreditoVentaRN {

    @EJB private LimiteCreditoVentaDAO limiteCreditoVentaDAO;


    public BigDecimal getLimiteCreditoDisponible(Cliente c){

        return limiteCreditoVentaDAO.getLimiteCreditoDisponible(c);
        
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
